package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataTeampayDao;
import io.renren.entity.DataTeampayEntity;
import io.renren.service.DataTeampayService;



@Service("dataTeampayService")
public class DataTeampayServiceImpl implements DataTeampayService {
	@Autowired
	private DataTeampayDao dataTeampayDao;
	
	@Override
	public DataTeampayEntity queryObject(String id){
		return dataTeampayDao.queryObject(id);
	}
	
	@Override
	public List<DataTeampayEntity> queryList(Map<String, Object> map){
		return dataTeampayDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataTeampayDao.queryTotal(map);
	}
	
	@Override
	public void save(DataTeampayEntity dataTeampay){
		dataTeampayDao.save(dataTeampay);
	}
	
	@Override
	public void update(DataTeampayEntity dataTeampay){
		dataTeampayDao.update(dataTeampay);
	}
	
	@Override
	public void delete(String id){
		dataTeampayDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataTeampayDao.deleteBatch(ids);
	}
	
}
